using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DSEngine.Sprite
{
    public class SpExtendObject : SpObject
    {
        public SpExtendObject()
            :base()
        {
        }
        new public void Draw(Microsoft.Xna.Framework.GameTime gameTime)
        {
            if (Visible)
            {
                InnerDraw(gameTime);
            }
        }
        new public void Update(Microsoft.Xna.Framework.GameTime gameTime)
        {
            if (Enable)
            {
                boundingBox = UpdateBoundingBox(gameTime);
                InnerUpdate(gameTime);
            }
        } 
    }
}
